package com.google.code.coma.space.implementation;

import com.google.code.coma.space.SpaceSelector;
import org.mozartspaces.capi3.javanative.coordination.NativeSelectorTranslator;

/**
 * @author Dominik Strasser, dominikstr@gmail.com
 */
public class SelectorTranslator implements NativeSelectorTranslator<SpaceSelector, SpaceSelectorImpl> {
	@Override
	public SpaceSelectorImpl translateSelector(SpaceSelector selector) {
		return new SpaceSelectorImpl(selector.getCallback());
	}
}
